<!DOCTYPE html>

<ui:composition xmlns="http://www.w3.org/1999/xhtml"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:ui="http://java.sun.com/jsf/facelets" 
    xmlns:rich="http://richfaces.org/rich"
    xmlns:a4j="http://richfaces.org/a4j">

    <h:form id="form_search_product">
        <h:panelGrid columns="3">                    
            
            <h:inputText id="name" value="#{searchc.product.name}" size="100">
                <f:ajax event="blur" render="m_name" />
            </h:inputText>
            
            <h:commandButton value="Buscar" action="#{searchc.search}"  title="Buscar" />
            
            <rich:message id="m_name" for="name" ajaxRendered="false" />
            
        </h:panelGrid>
    </h:form>
</ui:composition>		